package com.app.service.teacher;

import com.app.pojo.Grade;
import com.app.pojo.Teacher;

import java.util.List;

public interface TeacherService {
    Teacher getTeacherById(String id);
    String updateInfo(Integer id,String name,Integer sex,String mobilePhone);
    String updatePassword(Integer id, String oldPassword, String newPassword);
    Integer updateStudentGrade(Grade grade,String classs);
    List<Teacher> getTeachers();
    List<Teacher> getLikeTeacher(String name, Integer sex, String college);
    Integer delTeacher(Integer id);
    Integer addTeacher(Teacher teacher);
    Integer updateAll(Teacher teacher);
    Grade getAVGGradeByCollege(String college);
}
